package com.block.db.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.block.db.entity.RiskResultInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2023-05-11
 */
public interface RiskResultInfoMapper extends BaseMapper<RiskResultInfo> {

    RiskResultInfo getEntityByConfigIdAndUid(@Param("configId") String configId, @Param("uid")Long uid);

    RiskResultInfo getEntityByDataIdAndTypeAndUid(@Param("dataId") String dataId, @Param("dataType") String dataType, @Param("uid") Long uid);

}
